package com.sc.VenusQueryBeta.contract.vip;

import com.hengjun.kingstar.sdk.base.BasePresenter;
import com.hengjun.kingstar.sdk.base.IBaseFragment;
import com.hengjun.kingstar.sdk.base.IBaseModel;
import com.sc.VenusQueryBeta.model.bean.AboutVGSBean;

import io.reactivex.Observable;

/**
 * Created by Administrator on 2018/11/10.
 *
 */

public interface VipRootContract {
    abstract class VipRootPresenter extends BasePresenter<IVipRootModel,IVipRootView> {
        //检查更新
        public abstract void aboutVGS(long id);
    }
    interface IVipRootModel extends IBaseModel {
        //检查更新
        Observable<AboutVGSBean> aboutVGS(long id);
    }
    interface IVipRootView extends IBaseFragment {
        //检查更新
        void showAboutVGSDataSuccess(AboutVGSBean aboutVGSBean);

        void showNetworkError(Throwable throwable);

    }
}